package com.google.code.task;

public abstract class AbstractFluentTask implements Task, FluentTask {
  public AsyncerDecorator asynchronously() {
    return new AsyncerDecorator(this);
  }

  public RetryFailoverDecorator failover(Task failover) {
    return new RetryFailoverDecorator(this).failover(failover);
  }

  public AspectDecorator aspect() {
    return new AspectDecorator(this);
  }

  public TryCatchDecorator trycatch() {
	return new TryCatchDecorator(this);
  }

  public IfRunDecorator ifResultIs(TaskResultType taskResultType) {
	  return new IfRunDecorator(this).ifResultIs(taskResultType);
  }
}